package com.kt.mes.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 产线工位对象 t_prol_site
 * 
 * @author lzc
 * @date 2021-01-09
 */
public class ProlSite extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long id;



    /** 顺序 */
    @Excel(name = "顺序")
    private Long num;

    /** 产线编号 */
    @Excel(name = "产线编号")
    private String plId;
    private String plName;
    /** 工位编号 */
    @Excel(name = "工位编号")
    private String siteId;

    private String siteName;

    private  String siteImg;


    private String opcUrl;

    private String opcName;


    private String opcPwd;


    //连接状态
    private String conState="0";
    //mes 模式
    private String mesState="0";



    /** 状态（0正常 1停用） */
    @Excel(name = "状态", readConverterExp = "0=正常,1=停用")
    private String status;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setPlId(String plId) 
    {
        this.plId = plId;
    }

    public String getPlId() 
    {
        return plId;
    }
    public void setNum(Long num) 
    {
        this.num = num;
    }

    public Long getNum() 
    {
        return num;
    }
    public void setSiteId(String siteId) 
    {
        this.siteId = siteId;
    }

    public String getSiteId() 
    {
        return siteId;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getConState() {
        return conState;
    }

    public void setConState(String conState) {
        this.conState = conState;
    }

    public String getStatus()
    {
        return status;
    }

    public String getPlName() {
        return plName;
    }

    public void setPlName(String plName) {
        this.plName = plName;
    }

    public String getSiteName() {
        return siteName;
    }

    public void setSiteName(String siteName) {
        this.siteName = siteName;
    }

    public String getSiteImg() {
        return siteImg;
    }

    public String getOpcUrl() {
        return opcUrl;
    }

    public String getMesState() {
        return mesState;
    }

    public void setMesState(String mesState) {
        this.mesState = mesState;
    }

    public void setOpcUrl(String opcUrl) {
        this.opcUrl = opcUrl;
    }

    public String getOpcName() {
        return opcName;
    }

    public void setOpcName(String opcName) {
        this.opcName = opcName;
    }

    public String getOpcPwd() {
        return opcPwd;
    }

    public void setOpcPwd(String opcPwd) {
        this.opcPwd = opcPwd;
    }

    public void setSiteImg(String siteImg) {
        this.siteImg = siteImg;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("plId", getPlId())
            .append("num", getNum())
            .append("siteId", getSiteId())
            .append("status", getStatus())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
